#ifndef COLLIDER_H
#define COLLIDER_H

#include <vector>
#include "UpdateEvent.h"
#include "Collidable.h"

class Collidable;

class Collider: public UpdateEvent {
protected:
	static std::vector<Collidable*> *clist;
public:
	void collideAll();
	virtual void update(double time, double h);
};

#endif